﻿<UserControl x:Class="CPPEI.Coolzon.BrowserApp.MainViewControl.SceneNavigation"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="40" d:DesignWidth="300">
    <StackPanel x:Name="spLayout" Orientation="Horizontal">
        <StackPanel.Background>
            <ImageBrush ImageSource="/CPPEI.Coolzon.BrowserApp;component/Images/nav.jpg"/>
        </StackPanel.Background>
        <StackPanel.Resources>
            <Style TargetType="Label" x:Key="lblBase">
                <Setter Property="Width" Value="140"></Setter>
                <Setter Property="Cursor" Value="Hand"></Setter>
                <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
                <Setter Property="VerticalContentAlignment" Value="Center"></Setter>
                <!--<Setter Property="Background" Value="{x:Null}" />-->
                <Setter Property="BorderThickness" Value="1,0" />
                <Setter Property="BorderBrush">
                    <Setter.Value>
                        <ImageBrush ImageSource="/CPPEI.Coolzon.BrowserApp;component/Images/fgx.png"/>
                    </Setter.Value>
                </Setter>
                <Setter Property="Background">
                    <Setter.Value>
                        <ImageBrush ImageSource="/CPPEI.Coolzon.BrowserApp;component/Images/nav.jpg"/>
                    </Setter.Value>
                </Setter>
                <Setter Property="Foreground">
                    <Setter.Value>
                        <SolidColorBrush Color="White"/>
                    </Setter.Value>
                </Setter>
            </Style>
            <Style TargetType="Label" x:Key="lblEnter" BasedOn="{StaticResource ResourceKey=lblBase}">
                <Style.Triggers>
                    <Trigger Property="IsMouseOver" Value="True">
                        <Setter Property="Background">
                            <Setter.Value>
                                <ImageBrush ImageSource="/CPPEI.Coolzon.BrowserApp;component/Images/mainbg.png"/>
                            </Setter.Value>
                        </Setter>
                    </Trigger>
                </Style.Triggers>
            </Style>
            <Style TargetType="Label" x:Key="lblPress" BasedOn="{StaticResource ResourceKey=lblBase}">
                <Setter Property="Background">
                    <Setter.Value>
                        <ImageBrush ImageSource="/CPPEI.Coolzon.BrowserApp;component/Images/mainbg.png"/>
                    </Setter.Value>
                </Setter>
            </Style>
        </StackPanel.Resources>
    </StackPanel>
</UserControl>
